package com.cloud.order.util;

import java.util.Random;

/**
 * describe:
 *
 * @author zhanghaixuan
 * @date 2018/09/11
 **/
public class KeyUtils {

    public static synchronized String getUniqueLey(){
        Random random = new Random();
        Integer number = random.nextInt(90000)+10000;

        return  System.currentTimeMillis() + String.valueOf(number);
    }
}
